package zwp.exercise.demo_exercise.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import zwp.exercise.demo_exercise.pojo.domain.HolidayDomain;

/**
 * @Author zwp14
 * @create 2024/6/10 20:40
 * @description 数据库连接测试DAO
 */
@Mapper
public interface MySqlTestMapper extends BaseMapper<HolidayDomain> {

    /**
     * 数据库连接测试
     *
     * @return 单个查询测试结果
     */
    @Select("select * from p_holiday where holiday_id = '5009901413' ;")
    HolidayDomain connectTest1();
}
